//
//  LiaisonDetailViewController.h
//  FMS
//
//  Created by Steven on 10/14/13.
//  Copyright (c) 2013 QGSVN. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CustomButton.h"
#import "FilterViewController.h"

@protocol LiaisonDetailViewDelegate;

@interface LiaisonDetailViewController : FMSViewController<FilterViewDelegate,NavBarViewDelegate, UITableViewDataSource, UITableViewDelegate,UITextFieldDelegate>{
    NSMutableDictionary *dictLanguage;
    int statusView;
    
    CustomButton *btnTypeLiaison;
    UITextField *tfEmail, *tfCompany, *tfPersonInCharge, *tfContact, *tfAddress;
    UILabel *lblEmail, *lblCompany, *lblPersonInCharge, *lblContact, *lblAddress;
    
    NSMutableDictionary *contactType;
}

@property (weak, nonatomic) IBOutlet UITableView *tbLiaison;
@property (nonatomic,retain) NSMutableDictionary *dictLiaison;
@property (unsafe_unretained) id<LiaisonDetailViewDelegate> delegate;

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil statusView:(int)status;

- (void)reloadLiaison;

@end

@protocol LiaisonDetailViewDelegate <NSObject>

- (void)didUpdateLiaisonInfo:(NSMutableDictionary *)dictLiaison;

@end